package com.jiangli.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DishMetaData implements Serializable {

    private static final long serialVersionUID = 1L;
    //"id":21,"merchantId":null,"dishName":"香辣小龙虾","dishCategoryId":3,"calorie":450,"image":null,"price":null,"dishRating":4.7,"ratingCount":null,"description":null,"creatTime":null,"updateTime":null,"creatUser":null}
    /**
     * 菜品主键ID
     */
    private Long id;

    private Long merchantId;

    /**
     * 菜品名称
     */
    private String dishName;

    /**
     * 菜品所属分类ID
     */
    private Integer dishCategoryId;

    /**
     * 菜品热量
     */
    private Integer calorie;

    //菜品评分
    private float dishRating;
    //评分人数
    private Long ratingCount;

}
